import request from '@/utils/request'

//mock数据
export const reqGetJobList = () => {
  return request.get('/getJobList')
}
export const reqGetSelectPositionTypeList = () => {
  return request.get('/getSelectPositionType')
}

// 真实接口
export const reqGetCitySites = () => {
  return request.get('zpCommon/data/cityGroup.json')
}
export const reqGetBusinessDistrictList = (cityCode) => {
  return request.get('/zpgeek/businessDistrict.json', {
    params: {
      cityCode,
    },
  })
}
export const reqGetIndustryList = () => {
  return request.get('/zpCommon/data/industry.json')
}
export const reqGetPositionList = () => {
  return request.get('/zpCommon/data/position.json')
}
export const reqGetConditionList = () => {
  return request.get('/zpgeek/search/job/condition.json')
}
export const reqGetCountryCode = () => {
  return request.get('/zpuser/countryCode')
}
